package com.qingshu.common.entity.custom;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Huzz
 * @since 2021-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Comment对象", description="")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID", example = "123")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "评论人id", example = "123")
    private Integer userId;

    @ApiModelProperty(value = "评论内容")
    private String commentContent;

    @ApiModelProperty(value = "评论对象类型 1音乐, 2mv", example = "123")
    private Integer categoryId;

    @ApiModelProperty(value = "评论日期")
    private Date createdTime;


}
